package com.itheima;

//import com.itheima.entry.Account;
import com.itheima.entry.cunMoney;
import com.itheima.entry.quMoney;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

@Service
public class serviceImpl implements serviceInterface{

    @Autowired
    dao dao;

    @Override
    public String findById(String accountID) {
        String byId = dao.findById(accountID);
        return byId;
    }

    @Override
    public int findMoney(String accountID) {
        int money = dao.findMoney(accountID);
        return money;
    }

    @Override
    public void cunMoney(cunMoney cunMoney) {
        dao.cunMoney(cunMoney);
    }

    @Override
    public void quMoney(quMoney quMoney) {
        dao.quMoney(quMoney);
    }


}
